﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using An_Im.Extension.Contract;
namespace An_Im.QuickPPT
{
    internal class CommandList : List<VBAExportableCommand>
    {
        public CommandList() : base()
        {
            this.Add(new VBAExportableCommand("创建图形_无框矩形", "创建没有外框的矩形", null,
                AddInMethods.CreateRectangleWithoutLine, Properties.Resources.创建图形_无框矩形));

            this.Add(new VBAExportableCommand("创建图形_无框椭圆", "创建没有外框的椭圆", null,
                AddInMethods.CreateOvalWithoutLine, Properties.Resources.创建图形_无框椭圆));

            this.Add(new VBAExportableCommand("创建图形_无框圆角矩形", "创建没有外框的无框圆角矩形", null,
                AddInMethods.CreateRoundedRectangleWithoutLine, Properties.Resources.创建图形_无框圆角矩形));

            this.Add(new VBAExportableCommand("快速对齐_水平对齐", "水平对齐，以幻灯片中心为基准", null,
                AddInMethods.AliagnShapeRangeHorizontal, Properties.Resources.快速对齐_水平对齐));

            this.Add(new VBAExportableCommand("快速对齐_垂直对齐", "垂直对齐，以幻灯片中心为基准", null,
                AddInMethods.AliagnShapeRangeVertical, Properties.Resources.快速对齐_垂直对齐));

            this.Add(new VBAExportableCommand("快速对齐_智能水平", "水平对齐，以首个图形为基准", null,
                AddInMethods.AliagnShapeRangeHorizontalSmart, Properties.Resources.快速对齐_智能水平));

            this.Add(new VBAExportableCommand("快速对齐_智能垂直", "垂直对齐，以首个图形为基准", null,
                AddInMethods.AliagnShapeRangeVerticalSmart, Properties.Resources.快速对齐_智能垂直));

            this.Add(new VBAExportableCommand("选择同类型", "以首个图形的类型为准选中当前页其他图形", null,
                AddInMethods.SelectByShapeType, Properties.Resources.选择同类型));

            this.Add(new VBAExportableCommand("反选", "反向选择", null,
              AddInMethods.SelectReverse, Properties.Resources.反选));

            this.Add(new VBAExportableCommand("统一形状大小", "以首个图形的类型为准，统一尺寸", null,
              AddInMethods.UnifyShape, Properties.Resources.统一形状大小));



        }




        //public 

    }
}
